// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '检验项目',
        name: 'FLH_InspectionItems',
        url: "/FLH_InspectionItems/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"InspectionItemsName":"","InspectionTypeName":"","OperationMode":"","StandardValue":"","Unit":"","UpperLimitValue":"","LowerLimitingValue":"","Desc":"","CreateTime":""};
    const editFormOptions = [[{"title":"项目名称","required":true,"field":"InspectionItemsName","type":"text"}],
                              [{"dataKey":"FLH_检验类型","data":[],"title":"检验方式","required":true,"field":"InspectionTypeName","type":"select"}],
                              [{"title":"作业方式","field":"OperationMode","type":"text"}],
                              [{"title":"标准值","field":"StandardValue","type":"number"}],
                              [{"dataKey":"FLH_单位","data":[],"title":"单位","field":"Unit","type":"select"}],
                              [{"title":"上限值","field":"UpperLimitValue","type":"number"}],
                              [{"title":"下限值","field":"LowerLimitingValue","type":"number"}],
                              [{"title":"备注","field":"Desc","type":"textarea"}],
                              [{"title":"添加时间","required":true,"field":"CreateTime","type":"datetime"}]];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'Id',title:'唯一编码',type:'bigint',sort:true,width:110,readonly:true,require:true,align:'left'},
                       {field:'CreateUserId',title:'CreateUserId',type:'bigint',width:110,hidden:true,align:'left'},
                       {field:'UpdateUserId',title:'UpdateUserId',type:'bigint',width:110,hidden:true,align:'left'},
                       {field:'CreatedUserName',title:'CreatedUserName',type:'string',width:110,hidden:true,align:'left'},
                       {field:'UpdatedUserName',title:'UpdatedUserName',type:'string',width:110,hidden:true,align:'left'},
                       {field:'CreateTime',title:'添加时间',type:'datetime',width:150,require:true,align:'left'},
                       {field:'UpdateTime',title:'UpdateTime',type:'datetime',width:150,hidden:true,align:'left'},
                       {field:'IsDelete',title:'IsDelete',type:'sbyte',width:110,hidden:true,align:'left'},
                       {field:'RedundancyColumn1',title:'RedundancyColumn1',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn2',title:'RedundancyColumn2',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn3',title:'RedundancyColumn3',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn4',title:'RedundancyColumn4',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn5',title:'RedundancyColumn5',type:'string',width:120,hidden:true,align:'left'},
                       {field:'InspectionItemsName',title:'项目名称',type:'string',width:110,require:true,align:'left'},
                       {field:'InspectionTypeName',title:'检验方式',type:'string',bind:{ key:'FLH_检验类型',data:[]},width:110,require:true,align:'left'},
                       {field:'OperationMode',title:'作业方式',type:'string',width:110,align:'left'},
                       {field:'StandardValue',title:'标准值',type:'int',width:110,align:'left'},
                       {field:'Unit',title:'单位',type:'string',bind:{ key:'FLH_单位',data:[]},width:110,align:'left'},
                       {field:'UpperLimitValue',title:'上限值',type:'int',width:110,align:'left'},
                       {field:'LowerLimitingValue',title:'下限值',type:'int',width:110,align:'left'},
                       {field:'Desc',title:'备注',type:'string',width:180,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}